package com.ruoyi.order.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import lombok.EqualsAndHashCode;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
/**
 * 苹果退款记录对象 t_user_apple_refund
 * 
 * @author DEREK
 * @date 2024-08-15
 */
@Data
@EqualsAndHashCode(callSuper=false)
@TableName("t_user_apple_refund")
public class UserAppleRefund
{

    /** 主键ID */
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String nickName;

    
    private String signData;
    
    /** 退款完整数据 */
    @Excel(name = "退款完整数据")
    private String appleData;

    /** 签名获取的完整用户数据 */
    @Excel(name = "签名获取的完整用户数据")
    private String transactionInfo;

    /** 回调类型 REFUND_DECLINED=退款取消 CONSUMPTION_REQUEST=发起退款 REFUND=退款成功 */
    @Excel(name = "回调类型 REFUND_DECLINED=退款取消 CONSUMPTION_REQUEST=发起退款 REFUND=退款成功")
    private String notificationType;

    /** 三方交易号 */
    @Excel(name = "三方交易号")
    private String transactionId;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundTime;

    private String extend;
}
